﻿

    CKEDITOR.editorConfig = function( config )
    {
    // Define changes to default configuration here. For example:
    // config.language = ‘fr’;
    config.uiColor = '#ddd';

    config.toolbar = 'Cms';
    config.shiftEnterMode = CKEDITOR.ENTER_BR;
    config.enterMode = CKEDITOR.ENTER_BR;
    config.toolbar_Cms =
    [
    ['Source','-'],
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-'],
    ['Undo','Redo','-','Find','Replace','RemoveFormat'],['Link','Unlink','Anchor'],
    ['Table','HorizontalRule', '-'],['Maximize'],
    '/',
    ['Bold','Italic','Underline','Strike','-'],
    ['FontSize'],['TextColor','BGColor'],
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    ['PageBreak', 'Page']
    ];
    config.pasteFromWordRemoveFontStyles = false; 
    config.pasteFromWordRemoveStyles = false;
    config.filebrowserUploadUrl = '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
    config.fontSize_sizes = '10/10px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;28/28px;32/32px;48/48px;';
};

